package com.shangcheng.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangcheng.model.domain.PmsBrand;
import com.shangcheng.model.vo.PageResult;

import java.util.List;

public interface PmsBrandService extends IService<PmsBrand> {

    void insert(PmsBrand brand);

    void deleteByBatch(Integer[] ids);

    void deleteById(Integer id);

    PageResult findPage(Integer pageNum, Integer pageSize, String keyword);

    List<PmsBrand> findAll();

    void updateFactoryStatus(Integer[] ids, Integer factoryStatus);

    void updateBrand(PmsBrand pmsBrand);

    PmsBrand findBrandById(Integer id);

    void showStatus(Integer[] ids, Integer showStatus);
}
